package com.csci;

import javax.swing.*;

public class SudokuFrame {
	
	JFrame jFrame;
	SudokuMainPanel sudokuMainPanel;
	
	public SudokuFrame(int dimension, int[][][] boxPanel) {
		jFrame = new JFrame("Sudoku BackTrack Solver");
		jFrame.setSize(500, 500);
		jFrame.setVisible(true);
		jFrame.setDefaultCloseOperation(jFrame.EXIT_ON_CLOSE);
		
		sudokuMainPanel = new SudokuMainPanel(dimension, boxPanel);
		jFrame.add(sudokuMainPanel.mainPanel);
	}

}
